button change done using a bad way