Added user interface for editing and deleting activity templates