Moved activity require into init