added effects to buttons onclick