Refactored views
Fix error with locale selector current selected elements
Removed the requirement to working with session to avoid problem with cookies