Fixed sharedpreferences and completed levels issue