modify normal button function