DAR-1869 Fixed ThemeDesigner behaviour

**DO NOT MERGE IT YET**
BadBoys will code review and QA it before merging it to dev.

Added reseting page opacity values and slider after changing theme; corrected whitespaces, removed few magic numbers and added new method.