moved initialization to onCreate()
fixed callback