Replaced delete with active (inactive) indicator

Major changes to database and UI