change minsdk version and comment appmode functions out