Fixed android preferences