Added select all functionality and temporary data for delete selected