adding edit page, styling the note buttons based on the note status