Fixed UI bugs and prevented rapid button presses from crashing app