add new features like foreground select tool