fixed minor error checking bug in the showDesktopNotification function, and made default timer be 5000 instead of 3000