Put views in global state