How to add an action to a note