remove code from template, resolve onHomeIconItemSelected error