Fixed button crashing app when pressed