finished #14321 http://redmine.ruswizards.com:8100/redmine/issues/14321
implemented persistence on orientation change
added constants
Merge pull request #16 from eteplyakov/RM_14321_Lab_level_3_Multithreading

RM14321 - Lab level 3. Multithreading