check in each activity if cache needs to be cleared (#43)