Excitation of localized condensates in the flat band of the exciton-polariton Lieb lattice