cast current object in settings interface to respective subclass