removed flag for pressed button