fixed issue #336, canceling image upload in AccountManagerApp doesn't throw error anymore