bug fix for browse photos button not reappearing after using once