Rationalized update in Main
Changed note query to sort notes from newest to oldest