Settings: move opengl2.0 check into a Helper class

Change-Id: I1153925010a8dddf5ba8b7b89db5191897c5d1f3