Added "Edit Topic" and "Add Topic" functions