Update main.xhtml

Updated the time notifications stay visible, decreased from 2.0 to 1.2 seconds.