Refactored some things. Removed an added notification and used a local variable instead. Fixed some layout issues with the scroll view and the keyboard. Optimized some image handling