Bug of crash solved as well as one button press compilation