Fix NPE in IntentHandler if no action is provided

Setting an action is not required.