Finish key saving and loading