code style fixes and buttons made prettier