temporarily removed APP_ID and APP_NAME from preference tags (i dunno how to pass variables :/)