Getting memory data on click