Reflective preferences framework for libgdx applications