@remariu
Moving forwards, the replacement of setting global variables in OnStart is to use Named Formulas instead (which is currently an experimental feature). To summarise the content of the help link below, instead of this...
Set( BoardSize, 70);
Set( BoardLight, RGBA(240,217,181, 1) );
Set( BoardDark, RGBA(181,136,99, 1) );
Set( BoardSelect, RGBA(34,177,76,1) );
You would now do this in App.Formulas
BoardSize = 70;
BoardLight = RGBA(240,217,181, 1);
BoardDark = RGBA(181,136,99, 1);
BoardSelect = RGBA(34,177,76,1);
https://powerapps.microsoft.com/en-us/blog/power-fx-introducing-named-formulas/