Made device settings more dynamic for Yei plugin