Application closes directly after execution

Calculator stayes now open after calculation.