Device for shaving