Button styling and edit action