refactoring
test/new/rename/delete buttons disabled if kata has expired
files are readonly if kata has expired
revert button disabled if kata expired
refactoring