Took too long to change color of bootstrap button upon clicking