Fixed Null Pointer Exception

-Fixed Null Pointer Exception when there is no action receiver
-Improved example