updated button styling and function