Fixed pause function and naming bug in sleeping pill