Changing update() Funktion
Implementing the enabling of all valid buttons