Prevent user from operating if the purchasing is in progress.