Mangia handed new Palermo deal