move the setAdapter to after the create, so addHeaderView can be used

Change-Id: Ifebcbb85171a3d5ad1fbad1179f6ddaf2a7ff556