Correcting button errors

Correction of buttons errors