Fix static analysis warnings

 * replace field toolitemReloadConfig with local variable
 * replace "final static" with "static final"
 * extract UIController.start method in order not to call public methods
   from private ones
 * do not overwrite method parameter encryptionKey, use new variable
   instead
 * do not overwrite method parameter offset, use new variable instead