ISSUE-5257 : Fixed redirection while uploading profile picture without choosing any photo.