Corrected 'configureCell' function.