Fix permissions button popup