fixed bug on actionmode cancel
Change layout centring