Fixed ButtonEntry::handlePressEvent return condition.