Switched to buttons linked to slots