Deleted useless methods in UI