Refactored button clicks to css:active