fixes

activity re-creation fix
html tpl added