select photo from library instead of taking a new one