@JvmOverloads fun getInt(key: String, def: Int = 0): Int
get Int value from SharedPreference
key - key of preference
key
def - optional, if key is not presented or some unexpected problem happened, it will be return
def
Return Int object