Fix crash when sample rate was less than 1. Added toast notifications. Added notification when background thread is reading and writing sensor values.