	public void onResume(){
		super.onResume();
		if(isMyself()){
			try{		
				int id = bookmark.getId();
				bookmark = BookmarkManager.GetById(id, base);
				Date d = new Date(bookmark.getTime());
				mTitle.setText(Boolean.toString(bookmark.getSynced()));
				mUrl.setText(bookmark.getUrl());
				mNotes.setText(bookmark.getNotes());
				mTime.setText(d.toString());
				mUsername.setText(bookmark.getAccount());
				if(!bookmark.getShared()) {
					mIcon.setImageResource(R.drawable.padlock);
				} else if(bookmark.getToRead()) {
					mIcon.setImageResource(R.drawable.book_open);
				}
        		SpannableStringBuilder tagBuilder = new SpannableStringBuilder();
        		for(Tag t : bookmark.getTags()) {
        			addTag(tagBuilder, t, tagOnClickListener);
        		}
        		mTags.setText(tagBuilder);
        		mTags.setMovementMethod(LinkMovementMethod.getInstance());
			}
			catch(ContentNotFoundException e){}
		} else {
			Date d = new Date(bookmark.getTime());
			if(!bookmark.getDescription().equals("null"))
				mTitle.setText(bookmark.getDescription());
			mUrl.setText(bookmark.getUrl());
			if(!bookmark.getNotes().equals("null"))
					mNotes.setText(bookmark.getNotes());
			mTime.setText(d.toString());
    		SpannableStringBuilder tagBuilder = new SpannableStringBuilder();
    		for(Tag t : bookmark.getTags()) {
    			addTag(tagBuilder, t, userTagOnClickListener);
    		}
    		mTags.setText(tagBuilder);
    		mTags.setMovementMethod(LinkMovementMethod.getInstance());
			SpannableStringBuilder builder = new SpannableStringBuilder();
			int start = builder.length();
			builder.append(bookmark.getAccount());
			int end = builder.length();
			AccountSpan span = new AccountSpan(bookmark.getAccount());
			span.setOnAccountClickListener(accountOnClickListener);
			builder.setSpan(span, start, end, 0);
			mUsername.setText(builder);
			mUsername.setMovementMethod(LinkMovementMethod.getInstance());
		}
	}

	public void onResume(){
		super.onResume();
		if(isMyself()){
			try{		
				int id = bookmark.getId();
				bookmark = BookmarkManager.GetById(id, base);
				Date d = new Date(bookmark.getTime());
				mTitle.setText(bookmark.getDescription());
				mUrl.setText(bookmark.getUrl());
				mNotes.setText(bookmark.getNotes());
				mTime.setText(d.toString());
				mUsername.setText(bookmark.getAccount());
				if(!bookmark.getShared()) {
					mIcon.setImageResource(R.drawable.padlock);
				} else if(bookmark.getToRead()) {
					mIcon.setImageResource(R.drawable.book_open);
				}
        		SpannableStringBuilder tagBuilder = new SpannableStringBuilder();
        		for(Tag t : bookmark.getTags()) {
        			addTag(tagBuilder, t, tagOnClickListener);
        		}
        		mTags.setText(tagBuilder);
        		mTags.setMovementMethod(LinkMovementMethod.getInstance());
			}
			catch(ContentNotFoundException e){}
		} else {
			Date d = new Date(bookmark.getTime());
			if(!bookmark.getDescription().equals("null"))
				mTitle.setText(bookmark.getDescription());
			mUrl.setText(bookmark.getUrl());
			if(!bookmark.getNotes().equals("null"))
					mNotes.setText(bookmark.getNotes());
			mTime.setText(d.toString());
    		SpannableStringBuilder tagBuilder = new SpannableStringBuilder();
    		for(Tag t : bookmark.getTags()) {
    			addTag(tagBuilder, t, userTagOnClickListener);
    		}
    		mTags.setText(tagBuilder);
    		mTags.setMovementMethod(LinkMovementMethod.getInstance());
			SpannableStringBuilder builder = new SpannableStringBuilder();
			int start = builder.length();
			builder.append(bookmark.getAccount());
			int end = builder.length();
			AccountSpan span = new AccountSpan(bookmark.getAccount());
			span.setOnAccountClickListener(accountOnClickListener);
			builder.setSpan(span, start, end, 0);
			mUsername.setText(builder);
			mUsername.setMovementMethod(LinkMovementMethod.getInstance());
		}
	}
