Fixt text position drift on screen rotations

Location of text box moved slightly after each screen rotation due to
re-application of scale coefficient by initLayer method (layer is not
deleted). Changed global variables to constants and added new variables
in place of original "variables".