added background functionality, text is getting highlighted, saved