Refactor more code in settings_data.c - no longer have static
char buffers in every function but pass char pointer and sizeof
of char variable around