Added "restore default" function, fix for HTC devices