Added some animation listeners so buttons flicker first before
performing their respective actions.