Changed pushbutton logic on STM project to account for other program.