add preference activity class