add a way to temporarly disabled some buttons