Dynamically generate the action bar if the module has a getActionBar
method