lib: Fix setting refreshing text color