Program now tells user when it's time to study. It checks every ten seconds in order to not use too much resources.