Created a container for editing notes and the functionality for changing the view in the header when the edit button is clicked.