Remove buttons flags