Fix mark as read being called when resuming from lock screen (fixes #19)

Signed-off-by: Daniele Ricci <daniele.athome@gmail.com>