More preparation for "note to self" Google Now action.
Fix a possible bug related to sharing to app.