Fixed properties file not saving