button form v1

untested version of the button form
correct button formating

-fixed encryption algorythm for buttons