Adds defines to action button