put recordButton into its own class