dismiss view controller on photo upload and notify on testflight