Bug Fix and Addition

Addition:

- added code that, when receiving an event, checks if the event came
from the current device and if it did marks that event as confirmed

Bug fix:

- Fixed bug where, when deleting the last character in the textview,
the action was not recorded and therefore could not be undone