Added the reset player functionallity