Conditional rendering for gallery button in the splash