Properly enable the flags popup button