Finished MainView for react and edit buttons