Made minor refactorings and implemented exception handling for wrong selection of camera