add readonly falg to status bar