oh, it only crashes when you press enter instead of a Number. Thats why it crashes
P.s thank for the feedback ; )