Revised offline submission approach to include a max attempts on failed submissions, now uses device defaults for image settings (size etc.), fixes bug where only last attached gallery image is submitted