Fixed bug with deadline view, added context menu