FAIMS-766: fixed cancelling database tasks when show modules activity is destroyed