moved list change for application to correct code position