Increase flash memory Arduino UNO

Hi boys thanks for answers.
@MichaelMeissner I'll consider moving to Mega 2560.

@robtillaart: I don't wanna be silly, but I'm a programmer and the code unfortunately can't be optimized more I have double-checked it.