Created by: Dmitry Fatakov
Checks if title is empty or if no category or category “no category” is checked then cancel publish or update