moved record button to appbar for better UX