you don't need this external if, the two button already have their proper if