fix button flash show problem