added infrastructure for delete home and room buttons