Factor out check for external modifications
Factor out check for external modifications

Move the check to compare the stored hashes of the data files with the
current hash to a separate function. This makes the code easier to read
and reusable.

Signed-off-by: Lukas Fleischer <c9ca73f8336dcfb037ec2c2abf52d80a6847a5cd@calcurse.org>

lfos/calcurse,lfos/calcurse,lfos/calcurse