moved initialization, adapter creation in onCreate

improved performance.