Save and reload functionality for profiles implemented.