Changed app starting method