Program now saves the decimal value last used for the next time

and some other small changes