Fixed an issue with UIImage

UIImage needs to be explicitly unwrapped, otherwise the app doesn't compile.