Changed where the value of imageUploaderManager was declared to fix NPE.