app changed to main