Added layout for diary and activated diary activity