Adding actions to on_entry and on_exit for state