delete medication and work on main ui