TEEBOX-19 Refactor activities to save their html template