add getboolean method for cursorutils, added apply background for dialog