added notes states, changed notes_list & added notes_detail pages