Settings Java File Update

Now works with menu storing the variables