Changed ids of cookie elements, event listeners now working for plates