Added event for changing the button selected.
Merge remote-tracking branch 'upstream/dev-branch' into dev-branch

* upstream/dev-branch:
Merge pull request #1827 from anilgooru/dev-branch

Added event for changing the button selected.