Fixed NullPointerException saving notes when a photo is taken after
changing orientation (and instanceState was lost)