Fix for cellcounter/cellcounter#220

Re-initiates visualisation if key_history has been deleted back to empty.