Added minimize to application