Moved where setUploader() in ImageUploadManager is called from to fix NPE