Fixing parcelable bug (bad cast)