Bug fixes from last commit

Made the notification and shared preferences less buggy, it can now
make more notifications if it hears more sounds, right now each
notification doesn't stack (i.e., 3 claps won't get 3 notification as
each subsequent one kills the previous one, we can discuss if this is
how we want it). Now the only way to stop listening to actually turn it
off however