fix call to application:openFiles after launching