Added action to view buttons in Diary Module. Populated Diary tables.