Tidy ProcessRecharge code