remove export action from the main activity and implement it in palette
card activity
works:
1. fix the issue that the palette card cannot update after save a change
in edit view and back
2. fix the issue that the exported palette card picture is not the
current focused card sometimes
refactor the palette card layout file a little bit, which is used to
prepare for the further tweaking work on it.
just clean up some unused imports