Automates hover and active actions for buttons