Started profiles handling.

Created UI to setup buttons
Made functions to save profiles using Properties format