#JC-1819 Fixed code review issues, done small refactoring.
Changed function names to be more meaningful, one function for toggling preview state was replaced by two separate functions to explicitly specify what do we want - show or hide preview for the Poll