finished Implementation of Buttons actions.
Cleaned warnings. Fixed layout to have buttons centered.