refactored joke data manager and made editjokeview ui better