Add setProgramName method to Application