button switching working!