Add history and delete key