Add libgdx lifecycle methods to AlligatorApp.java