launcher: Implement loading and saving the commands history