Function from c++ to blueprint not showing up

I was following this tutorial

but every time I search blueprint the method CountdownHasFinished is not showing up.

I have this on my header file

UFUNCTION(BlueprintNativeEvent)
void CountdownHasFinished();
virtual void CountdownHasFinished_Implementation();

Why is it not showing on my blueprint? I followed exactly the tutorial.

I tried unchecking the Context sensitive still the function is not showing up

You trying in class or outside of class relation? Also did tried searching in both context menu and pallet?

Okay I got it. I have to manually restart UE. Thats weird and annoying. They really have to fix that.

thank you!
had the same issue and resolved it by restarting UE