changed mainapp