Choice number and energy of graphs