Add pressed and released event for each button