Try to reduce the use of "init" functions. Use an onCreate event instead.