Changed actions from a simple array of Strings to an array of Objects and moved it to the main class to be more generic and to be able to activate/deactivate buttons