Improved effiency of fetching device os platforms.
Improved error message when camera is not found.
Improved effiency of uploading photo with device.
Changed formatting of JSON field for saving a device.
Removed useless if statements.
Improved image loading times on phones (Tablets remain the same speed).