Added preloader for allocation, and disabled rm rows when there is only last row

- Added preloader for allocation,
- disabled rm rows when there is only last row