Added loadRecord function. Fixed player stopping