Fixed some stuff regarding orientation change (not everything though)
Merge branch 'develop' of https://github.com/Soetnowzen/SmartPower into develop
Fixed issue where favoriting a socket crashed the app when changing orientation.