any reason not to have this on one line, ie. if (isShowingPopup() && trophiesClicked === true)