Random button stays on photos page