issue_138: do not allow delete category if it is being used in payments or recurring payments
issue_138: everything should be in container
issue_138: keep flash in layout