Added functions for switching resolution based on Device Model and Graphics Memory