fix wrong GLES includes (GLESv1 vs GLESv2)
save default configuration if not saved yet